package com.cn.wanxi.service;

import com.cn.wanxi.model.NavModel;

import java.util.List;

public interface INavService {

    int addNav(NavModel navModel);

    int deleteNav(int id);

    int editNav(NavModel navModel);

    List<NavModel> getNavList();

    NavModel getNav(int id);

    List<NavModel> getNavList(int page, int size);

    List<NavModel> getNavList(int page, int size, String sort);

    List<NavModel> searchNav(String sql);

    long getNavCount();

    int updateEnable(int id, int enable);
}
